//
//  UserInfoModel.h
//  PropertyMananger
//
//  Created by bh on 17/1/9.
//  Copyright © 2017年 BH. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PermissionDatamModel :BaseModel
@property (nonatomic , copy) NSString * MeterReading;
@property (nonatomic , copy) NSString * QueryFee;
@property (nonatomic , copy) NSString * QueryOwner;
@property (nonatomic , copy) NSString * Report;

@end

@interface CommunitylistModel : BaseModel

@property (nonatomic,strong) NSString * CommunityId;
@property (nonatomic,strong) NSString * CommunityName;
@property (nonatomic,strong) NSString * Latitude;
@property (nonatomic,strong) NSString * LinkAddress;
@property (nonatomic,strong) NSString * Longitude;
@property(nonatomic , copy) NSString * companydescribe;

@end


@interface UserInfoModel : BaseModel
//单例
+ (instancetype)shareInstance;

@property(nonatomic , copy) NSString * login;//用于判断是否已经登录    1为已经登录  0或空位维登录

@property(nonatomic , copy) NSString * AppRoleName;
@property(nonatomic , copy) NSString * CommunityID;
@property(nonatomic , copy) NSString * CommunityName;
@property(nonatomic , copy) NSString * CompanyName;
@property(nonatomic , copy) NSString * HeadImage;
@property(nonatomic , copy) NSString * IDNumber;
@property(nonatomic , copy) NSString * LastLoginTime;
@property(nonatomic , copy) NSString * LoginName;

@property(nonatomic , copy) NSString * NickName;
@property(nonatomic , copy) NSString * PropertyID;
@property(nonatomic , copy) NSString * RealName;
@property(nonatomic , copy) NSString * Sex;
@property(nonatomic , copy) NSString * Tel;
@property(nonatomic , copy) NSString * WorkerCode;
@property(nonatomic , copy) NSString * WorkerID;
@property(nonatomic , copy) PermissionDatamModel * PermissionData;
@property (nonatomic,copy) CommunitylistModel * commitList;

@property(nonatomic , copy) NSString * AllComplaintcount;
@property(nonatomic , copy) NSString * AllRepaircount;
@property(nonatomic , copy) NSString * MyComplaintcount;
@property(nonatomic , copy) NSString * MyRepaircount;



@property (nonatomic , strong) NSMutableArray * listArr;

//-(void)userDataWithDict:(NSDictionary *)dict Str:(NSString * )str;

@end
